package patterns.decorator;

public class SeverityLogger extends LoggerDecorator {
    public SeverityLogger(SystemLogger decoratedLogger) {
        super(decoratedLogger);
    }

    @Override
    public void log(String message) {
        super.log("[INFO] " + message);
    }

    public void logError(String message) {
        super.log("[ERROR] " + message);
    }
}
